<script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'
let a = 1
</script>

<template>
    <div>
        <a href="https://vitejs.dev" target="_blank">
            <img src="/vite.svg" class="logo" alt="Vite logo" />
        </a>
        <a href="https://vuejs.org/" target="_blank">
            <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
        </a>
    </div>
    <HelloWorld msg="Vite + Vue" />
</template>

<style scoped lang="scss">
html body .logo {
    height: 6em;
    padding: 1.5em;
    will-change: filter;
    transition: filter 300ms;
}

.logo:hover {
    filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vue:hover {
    filter: drop-shadow(0 0 2em #42b883aa);
}

.tags-view-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: var(--tag-view-height);
    background: var(--tags-view-background);
    border-bottom: 1px solid var(--tags-view-border-bottom);
    box-shadow: var(--tags-view-box-shadow);

    .tags-view-wrapper {
        .tags-view-item {
            position: relative;
            display: inline-block;
            height: 27px;
            padding: 0 8px;
            margin-top: 3px;
            margin-left: 5px;
            font-size: 12px;
            line-height: 26px;
            color: var(--tags-view-item-color);
            cursor: pointer;
            background: var(--tags-view-item-background);
            border: 1px solid var(--tags-view-item-border-color);

            &:first-of-type {
                margin-left: 10px;
            }

            &:last-of-type {
                margin-right: 15px;
            }

            &.active {
                color: var(--tags-view-item-active-color);
                background-color: var(--tags-view-item-active-background);
                border-color: var(--tags-view-item-active-border-color);

                &::before {
                    position: relative;
                    display: inline-block;
                    width: 8px;
                    height: 8px;
                    margin-right: 2px;
                    content: '';
                    background: var(--tags-view-background);
                    border-radius: 50%;
                }
            }
        }
    }
}
</style>
